{% extends 'PHPZendOpcacheBundle:Default:opcache_base.html.twig' %}

{% block title %}PHP ZendOpcache Dashboard - Status{% endblock %}

{% block stylesheets %}
  {{ parent() }}
  {% stylesheets filter='cssrewrite'
    'bundles/phpzendopcache/css/google_charts_style.css'
  %}
    <link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
  {% endstylesheets %}
{% endblock %}

{% block head %}
  {{ parent() }}

  {% embed 'PHPZendOpcacheBundle:Default:google_charts_api.html.twig' %}
    {% block google_charts %}
      {% include 'PHPZendOpcacheBundle:Default:memory_chart.html.twig' %}
      {% include 'PHPZendOpcacheBundle:Default:cache_chart.html.twig' %}
    {% endblock %}
  {% endembed %}
{% endblock %}

{% block body %}
  <h1 class="title">PHP ZendOPcache - Status</h1>
  {% include 'PHPZendOpcacheBundle:Default:stats_table.html.twig' %}

  <div class="google_charts">
    <div id="memchart_div"></div>
    <div id="cachechart_div"></div>
  </div>

  {% include 'PHPZendOpcacheBundle:Default:config_table.html.twig' %}
{% endblock %}
